#ifndef						__DECODER_H__
# define					__DECODER_H__

# include					<iostream>
# include					"opus.h"
# include					"IDecoder.h"
# include					"IOrder.h"

class						Decoder : public IDecoder
{
public:
	Decoder();
	~Decoder();

private:
	OpusDecoder				*_dec;
	int						_channel;

public:
	virtual void			init();
	virtual void			decode(IEncodedSoundPacket*, ISoundPacket*);
	virtual void			decode(IOrder *, ISoundPacket *);

};

#endif						// !__DECODER_H__
